package chapter1.service;

import chapter1.domain.entity.Role;
import chapter1.domain.entity.dto.RoleDto;
import chapter1.domain.entity.vo.Result;
import chapter1.domain.entity.vo.RoleVo;

/**
 * 业务层接口-角色
 *
 * @author 郑植航
 * @since 2025/5/25 20:57
 */
public interface IRoleService extends IBaseService<Role,RoleDto>{


    boolean  existById(int id);
    Role findById(int id);
    Result list();
    Result create(RoleDto dto);
    Result update(RoleDto dto,int id);
    Result delete(int id);
}
